<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="x-ua-compatible" content="ie=7"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>会员注册激活页 - ${web.name}${web.additionalTitle!}</title>
    <link href="${root}/css/global.css" type="text/css" rel="stylesheet"/>
    <link href="${root}/css/layout.css" type="text/css" rel="stylesheet"/>
    <link href="${root}/css/member.css" type="text/css" rel="stylesheet"/>
    <script src="${root}/js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
        function reSendEamil(userId) {
            alert("正在重新发送激活邮件，请稍候！");
            $.post('${base}/reactive.htm', {'userId': userId},
                    function (data) {
                        if (data.data == 1)
                            alert('该帐号已经被激活，请直接登录！');
                        else if (data.data == 2)
                            alert('已重新发送激活邮件，请注意查收！');
                        else if (data.data == 3)
                            alert('发生错误，系统无法验证用户身份，请稍候重试！');
                    }, "json");
        }
    </script>
</head>

<body>
[#include "../include/header_top.html"/]
<div id="head">
    [#include "../include/header_search.html"/]
    [#include "../include/header_nav.html"/]
</div>
<div class="center mt10">
    <div class="column_title"><span>注册新用户</span></div>
    <div class="regist_active_box">
        [#if status==1]
        <div class="gxzccg"><img src="${root!}/img/success.png" align="middle" width="50" height="42"
                                 style="margin-top:-6px;"/>
            <span><font size="4" color="red"><strong>${member.username!}</strong></font><font
                    size="4">用户，恭喜您已注册成功！</font></span></div>
        <div class="cgxx">
            <p>确认邮件已发送到您的邮箱：<font size="3" color="red"><strong>${member.email!}</strong></font>，请前往完成激活</p>

            <p>邮箱激活可获得<font size="3" color="red"><strong>10</strong></font>积分并且可保护你的帐户安全，帮助您快速找回密码。</p>

            <p><a href="http://mail.${emailtype!}.com" target="_blank">
                <img src="${root!}/img/email.jpg" align="middle" width="182" height="34" style="margin-top:5px;"/></a>
            </p>
        </div>
        <div class="cgxxxt">&nbsp;</div>
        <div class="cgxxx">
            <p>没有收到确认邮件怎么办？</p>

            <p>稍等几分钟，若仍没收到确认信，让JSPGOU<a href="javascript:void(0);" onclick="reSendEamil(${member.id!});"><font
                    color="blue">重发一封</font></a></p>
        </div>
        [#elseif status==2]
        <div class="gxzccg"><img src="${root!}/img/fail.png" align="middle" width="50" height="42"
                                 style="margin-top:-6px;"/>
            <span><font size="4">注册失败</font></span></div>
        <div class="cgxx">
            <p><strong>邮件服务器没有设置好，请联系管理员。</strong></p>
        </div>
        [#elseif status==3]
        <div class="gxzccg"><img src="${root!}/img/fail.png" align="middle" width="50" height="42"
                                 style="margin-top:-6px;"/>
            <span><font size="4">注册失败</font></span></div>
        <div class="cgxx">
            <p><strong>邮件模板没有设置好，请联系管理员。</strong></p>
        </div>
        [#elseif status==4]
        <div class="gxzccg">
            <img src="${root!}/img/fail.png" align="middle" width="50" height="42" style="margin-top:-6px;"/>
            <span><font size="4">注册失败</font></span></div>
        <div class="cgxx">
            <p><strong>后台邮箱设置的邮箱不能发送邮件。</strong></p>
        </div>
        [/#if]
    </div>
</div>
[#include "../include/footer.html"/]
</body>
</html>

